package edu.scut.course_management.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import edu.scut.course_management.po.Department;

/**
 * 数据访问，对应库表：department
 * @author thompson
 */
@Repository
public interface DepartmentMapper {
    public Department findByDepartmentId(@Param("departmentId")Integer departmentId);
    public Integer findDepartmentId(@Param("departmentName")String departmentName);
    // 获取院系列表
    public List<Department> getAllDepartments();
}